<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>UniMRCP: apt_header_field.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">UniMRCP
   &#160;<span id="projectnumber">1.5.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li><li class="navelem"><a class="el" href="dir_995e6b30ef7b7f0b2dec48039971ec97.html">apr-toolkit</a></li><li class="navelem"><a class="el" href="dir_af55bba262e1419c3a74fbffa32b25cc.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">apt_header_field.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Header Field Declaration (RFC5322)  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;apr_ring.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="apt__string_8h_source.html">apt_string.h</a>&quot;</code><br/>
</div>
<p><a href="apt__header__field_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapt__header__section__t.html">apt_header_section_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:aa4a62aa3b588372b5233364aab76c8f6"><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
typedefAPT_BEGIN_EXTERN_C <br class="typebreak"/>
struct <a class="el" href="structapt__header__field__t.html">apt_header_field_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__header__field_8h.html#aa4a62aa3b588372b5233364aab76c8f6">apt_header_field_t</a></td></tr>
<tr class="separator:aa4a62aa3b588372b5233364aab76c8f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa54ae4d121713f8d3f2238899d122d28"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structapt__header__section__t.html">apt_header_section_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__header__field_8h.html#aa54ae4d121713f8d3f2238899d122d28">apt_header_section_t</a></td></tr>
<tr class="separator:aa54ae4d121713f8d3f2238899d122d28"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a8fdcbe571e441821661a735e6536e01c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__header__field_8h.html#a8fdcbe571e441821661a735e6536e01c">apt_header_field_alloc</a> (apr_pool_t *pool)</td></tr>
<tr class="separator:a8fdcbe571e441821661a735e6536e01c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9161ee6e0a37b0ff20525ab42a8856b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__header__field_8h.html#a9161ee6e0a37b0ff20525ab42a8856b4">apt_header_field_create</a> (const <a class="el" href="structapt__str__t.html">apt_str_t</a> *name, const <a class="el" href="structapt__str__t.html">apt_str_t</a> *value, apr_pool_t *pool)</td></tr>
<tr class="separator:a9161ee6e0a37b0ff20525ab42a8856b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aceb6f5ef18163c25bf68b37e4333312e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__header__field_8h.html#aceb6f5ef18163c25bf68b37e4333312e">apt_header_field_create_c</a> (const char *name, const char *value, apr_pool_t *pool)</td></tr>
<tr class="separator:aceb6f5ef18163c25bf68b37e4333312e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adefdb1258f69a639cdc18154985cf1ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__header__field_8h.html#adefdb1258f69a639cdc18154985cf1ad">apt_header_field_create_from_line</a> (const <a class="el" href="structapt__str__t.html">apt_str_t</a> *line, char separator, apr_pool_t *pool)</td></tr>
<tr class="separator:adefdb1258f69a639cdc18154985cf1ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fb25c693278b0520b7fc615f6862f94"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__header__field_8h.html#a6fb25c693278b0520b7fc615f6862f94">apt_header_field_copy</a> (const <a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *src_header_field, apr_pool_t *pool)</td></tr>
<tr class="separator:a6fb25c693278b0520b7fc615f6862f94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a666d5c4faa79326283de2a7d08ef303c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__header__field_8h.html#a666d5c4faa79326283de2a7d08ef303c">apt_header_section_init</a> (<a class="el" href="structapt__header__section__t.html">apt_header_section_t</a> *header)</td></tr>
<tr class="separator:a666d5c4faa79326283de2a7d08ef303c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ce7fd8d1f0513515e37d44c66b2078b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__header__field_8h.html#a9ce7fd8d1f0513515e37d44c66b2078b">apt_header_section_array_alloc</a> (<a class="el" href="structapt__header__section__t.html">apt_header_section_t</a> *header, apr_size_t max_field_count, apr_pool_t *pool)</td></tr>
<tr class="separator:a9ce7fd8d1f0513515e37d44c66b2078b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a635afa377b6916cb81aa0ab2b7d5dffd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__header__field_8h.html#a635afa377b6916cb81aa0ab2b7d5dffd">apt_header_section_field_add</a> (<a class="el" href="structapt__header__section__t.html">apt_header_section_t</a> *header, <a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *header_field)</td></tr>
<tr class="separator:a635afa377b6916cb81aa0ab2b7d5dffd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c8906f5de4266efc08bc7f500bb34d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__header__field_8h.html#a8c8906f5de4266efc08bc7f500bb34d0">apt_header_section_field_insert</a> (<a class="el" href="structapt__header__section__t.html">apt_header_section_t</a> *header, <a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *header_field)</td></tr>
<tr class="separator:a8c8906f5de4266efc08bc7f500bb34d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad97621ad237b6d364cee7e78dab8346e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__header__field_8h.html#ad97621ad237b6d364cee7e78dab8346e">apt_header_section_field_set</a> (<a class="el" href="structapt__header__section__t.html">apt_header_section_t</a> *header, <a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *header_field)</td></tr>
<tr class="separator:ad97621ad237b6d364cee7e78dab8346e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78ff89671bb8bb943f4777d46ecb0859"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__header__field_8h.html#a78ff89671bb8bb943f4777d46ecb0859">apt_header_section_field_remove</a> (<a class="el" href="structapt__header__section__t.html">apt_header_section_t</a> *header, <a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *header_field)</td></tr>
<tr class="separator:a78ff89671bb8bb943f4777d46ecb0859"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Header Field Declaration (RFC5322) </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="aa4a62aa3b588372b5233364aab76c8f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef typedefAPT_BEGIN_EXTERN_C struct <a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> <a class="el" href="structapt__header__field__t.html">apt_header_field_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Header field declaration </p>

</div>
</div>
<a class="anchor" id="aa54ae4d121713f8d3f2238899d122d28"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structapt__header__section__t.html">apt_header_section_t</a> <a class="el" href="structapt__header__section__t.html">apt_header_section_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Header section declaration </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a8fdcbe571e441821661a735e6536e01c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a>* apt_header_field_alloc </td>
          <td>(</td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Allocate an empty header field. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pool</td><td>the pool to allocate memory from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6fb25c693278b0520b7fc615f6862f94"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a>* apt_header_field_copy </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *&#160;</td>
          <td class="paramname"><em>src_header_field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Copy specified header field. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src_header_field</td><td>the header field to copy </td></tr>
    <tr><td class="paramname">pool</td><td>the pool to allocate memory from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9161ee6e0a37b0ff20525ab42a8856b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a>* apt_header_field_create </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structapt__str__t.html">apt_str_t</a> *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structapt__str__t.html">apt_str_t</a> *&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create a header field using given name and value APT strings. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>the name of the header field </td></tr>
    <tr><td class="paramname">value</td><td>the value of the header field </td></tr>
    <tr><td class="paramname">pool</td><td>the pool to allocate memory from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aceb6f5ef18163c25bf68b37e4333312e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a>* apt_header_field_create_c </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create a header field using given name and value C strings. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>the name of the header field </td></tr>
    <tr><td class="paramname">value</td><td>the value of the header field </td></tr>
    <tr><td class="paramname">pool</td><td>the pool to allocate memory from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="adefdb1258f69a639cdc18154985cf1ad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a>* apt_header_field_create_from_line </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structapt__str__t.html">apt_str_t</a> *&#160;</td>
          <td class="paramname"><em>line</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>separator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create a header field from entire text line consisting of a name and value pair. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">line</td><td>the text line, which consists of a name and value pair </td></tr>
    <tr><td class="paramname">separator</td><td>the name and value separator </td></tr>
    <tr><td class="paramname">pool</td><td>the pool to allocate memory from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9ce7fd8d1f0513515e37d44c66b2078b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_header_section_array_alloc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapt__header__section__t.html">apt_header_section_t</a> *&#160;</td>
          <td class="paramname"><em>header</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>max_field_count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Allocate header section to set/get header fields by numeric identifiers. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">header</td><td>the header section to allocate </td></tr>
    <tr><td class="paramname">max_field_count</td><td>the max number of header fields in the section (protocol dependent) </td></tr>
    <tr><td class="paramname">pool</td><td>the pool to allocate memory from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a635afa377b6916cb81aa0ab2b7d5dffd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_header_section_field_add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapt__header__section__t.html">apt_header_section_t</a> *&#160;</td>
          <td class="paramname"><em>header</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *&#160;</td>
          <td class="paramname"><em>header_field</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add (append) header field to header section. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">header</td><td>the header section to add field to </td></tr>
    <tr><td class="paramname">header_field</td><td>the header field to add </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8c8906f5de4266efc08bc7f500bb34d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_header_section_field_insert </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapt__header__section__t.html">apt_header_section_t</a> *&#160;</td>
          <td class="paramname"><em>header</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *&#160;</td>
          <td class="paramname"><em>header_field</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Insert header field to header section based on numreic identifier if specified. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">header</td><td>the header section to insert field into </td></tr>
    <tr><td class="paramname">header_field</td><td>the header field to insert </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a78ff89671bb8bb943f4777d46ecb0859"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_header_section_field_remove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapt__header__section__t.html">apt_header_section_t</a> *&#160;</td>
          <td class="paramname"><em>header</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *&#160;</td>
          <td class="paramname"><em>header_field</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Remove header field from header section. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">header</td><td>the header section to remove field from </td></tr>
    <tr><td class="paramname">header_field</td><td>the header field to remove </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad97621ad237b6d364cee7e78dab8346e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_header_section_field_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapt__header__section__t.html">apt_header_section_t</a> *&#160;</td>
          <td class="paramname"><em>header</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structapt__header__field__t.html">apt_header_field_t</a> *&#160;</td>
          <td class="paramname"><em>header_field</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set header field in the array of header fields using associated numeric identifier. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">header</td><td>the header section to set field for </td></tr>
    <tr><td class="paramname">header_field</td><td>the header field to set </td></tr>
  </table>
  </dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>Typically, the header field should be already added to the header section using <a class="el" href="apt__header__field_8h.html#a635afa377b6916cb81aa0ab2b7d5dffd">apt_header_section_field_add()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a666d5c4faa79326283de2a7d08ef303c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apt_header_section_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapt__header__section__t.html">apt_header_section_t</a> *&#160;</td>
          <td class="paramname"><em>header</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initialize header section (collection of header fields). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">header</td><td>the header section to initialize </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 22 2017 10:11:48 for UniMRCP by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
